package main

import (
	"administrator/app"
	"administrator/app/log"
	"embed"
	"gitee.com/aurora-engine/aurora"
	"gitee.com/aurora-engine/aurora/const/level"
)

// 加载静态资源根目录下的所有内容
//
//go:embed static/out/*
var static embed.FS

//go:embed static/db/mappers/*
var mapperFile embed.FS

// 加载配置文件
//
//go:embed config/application-dev.yml
var cnf []byte

var opts = []aurora.Option{
	aurora.Logger(log.Log()),
	//aurora.LoadConfig(cnf),
	aurora.Level(level.Dev),
	aurora.Static(static),
	app.GoBatis(mapperFile),
	app.Oos(),
	app.RabbitMQ(),
}
